package cn.tsmchina.one.dao.user;

import java.util.List;

import cn.tsmchina.one.domain.user.User;

/**
 * Description:
 * @author ying 
 * @date 2013-10-4
 * @version 1.0
 * Copyright: Copyright (c) 2013 TSM,Inc
 */
public interface UserDao {
	Long addUser(User user);
	
	User getUserByPhone(String phone, long customerId);
	
	User getUserById(String id);

	User getUser(String phone, String password, long customerId);
	
	int updateUser(User user);
	
	int updateUserPass(User user);
	
	List<User> getUserListByIds(String uids,int page, long customerId);
	
	int getUserTotalByIds(String uids, long customerId);
}

